[INFO] fetching crate pdf 0.7.0...
[INFO] checking pdf-0.7.0 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate pdf 0.7.0 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate pdf 0.7.0 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pdf 0.7.0
[INFO] finished tweaking crates.io crate pdf 0.7.0
[INFO] tweaked toml for crates.io crate pdf 0.7.0 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da330841f04169d833d3060748fd083aa8da7e0cf479009d74e359d234c03388
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "da330841f04169d833d3060748fd083aa8da7e0cf479009d74e359d234c03388", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da330841f04169d833d3060748fd083aa8da7e0cf479009d74e359d234c03388", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da330841f04169d833d3060748fd083aa8da7e0cf479009d74e359d234c03388", kill_on_drop: false }`
[INFO] [stdout] da330841f04169d833d3060748fd083aa8da7e0cf479009d74e359d234c03388
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edecddcbc3cf1c7ddbd1f4f4083d9a040ebd6960210b607826450c3f72a52d76
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "edecddcbc3cf1c7ddbd1f4f4083d9a040ebd6960210b607826450c3f72a52d76", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking num-integer v0.1.43
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking itertools v0.6.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking once_cell v0.2.4
[INFO] [stderr]    Compiling snafu-derive v0.4.4
[INFO] [stderr]    Compiling pdf_derive v0.1.20
[INFO] [stderr]     Checking snafu v0.4.4
[INFO] [stderr]     Checking pdf v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/error.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parser::parse_with_lexer`
[INFO] [stdout]  --> src/font.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::parser::parse_with_lexer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/font.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | / macro_rules! fonts {
[INFO] [stdout] 59 | |     ( $( ($name:tt, $file:tt ), )* ) => {
[INFO] [stdout] 60 | |         &[ $(
[INFO] [stdout] 61 | |             ($name, &*include_bytes!(concat!(env!("STANDARD_FONTS"), "/", $file))),
[INFO] [stdout] 62 | |         )* ]
[INFO] [stdout] 63 | |     };
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/enc.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/error.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parser::parse_with_lexer`
[INFO] [stdout]  --> src/font.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::parser::parse_with_lexer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/font.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | / macro_rules! fonts {
[INFO] [stdout] 59 | |     ( $( ($name:tt, $file:tt ), )* ) => {
[INFO] [stdout] 60 | |         &[ $(
[INFO] [stdout] 61 | |             ($name, &*include_bytes!(concat!(env!("STANDARD_FONTS"), "/", $file))),
[INFO] [stdout] 62 | |         )* ]
[INFO] [stdout] 63 | |     };
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/enc.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/error.rs:224:18
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn dump_data(data: &[u8]) {}
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/object/color.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn serialize<W: io::Write>(&self, out: &mut W) -> Result<()> {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/object/function.rs:52:39
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn serialize<W: io::Write>(&self, out: &mut W) -> Result<()> {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/primitive.rs:274:32
[INFO] [stdout]     |
[INFO] [stdout] 274 |             Primitive::Integer(n) => bail!("negative integer"),
[INFO] [stdout]     |                                ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/parser/mod.rs:196:65
[INFO] [stdout]     |
[INFO] [stdout] 196 | fn parse_stream_with_lexer(lexer: &mut Lexer, r: &impl Resolve, ctx: Option<&Context>) -> Result<PdfStream> {
[INFO] [stdout]     |                                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/enc.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn dct_decode(data: &[u8], params: &DCTDecodeParams) -> Result<Vec<u8>> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/error.rs:224:18
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn dump_data(data: &[u8]) {}
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/object/color.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn serialize<W: io::Write>(&self, out: &mut W) -> Result<()> {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/object/function.rs:52:39
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn serialize<W: io::Write>(&self, out: &mut W) -> Result<()> {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/primitive.rs:274:32
[INFO] [stdout]     |
[INFO] [stdout] 274 |             Primitive::Integer(n) => bail!("negative integer"),
[INFO] [stdout]     |                                ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/parser/mod.rs:196:65
[INFO] [stdout]     |
[INFO] [stdout] 196 | fn parse_stream_with_lexer(lexer: &mut Lexer, r: &impl Resolve, ctx: Option<&Context>) -> Result<PdfStream> {
[INFO] [stdout]     |                                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/enc.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn dct_decode(data: &[u8], params: &DCTDecodeParams) -> Result<Vec<u8>> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/backend.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut xref_offset = t!(self.locate_xref_offset());
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/backend.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut xref_offset = t!(self.locate_xref_offset());
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]    --> src/object/stream.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 228 |     id:         ObjNr,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]    --> src/object/stream.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 228 |     id:         ObjNr,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> tests/integration.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{str, fs};
[INFO] [stdout]   |                ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 41.09s
[INFO] running `Command { std: "docker" "inspect" "edecddcbc3cf1c7ddbd1f4f4083d9a040ebd6960210b607826450c3f72a52d76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edecddcbc3cf1c7ddbd1f4f4083d9a040ebd6960210b607826450c3f72a52d76", kill_on_drop: false }`
[INFO] [stdout] edecddcbc3cf1c7ddbd1f4f4083d9a040ebd6960210b607826450c3f72a52d76
